package com.dc.dao;

import com.dc.model.Category;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryDao {
    List<Category> selectPageCategory();
    Integer insertCategory(Category category);
    Category selectCategotyById(@Param("id") Integer id);
    Integer deletedCategory(@Param("ids") String[] ids);
    Integer updateCategory(Category category);
}
